*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body{
    background: url("../img/bg.png") no-repeat;
    background-size: cover;
}

.container{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login{
    background: #ffffff;
    padding: 70px 50px;
}

.login h1{
    text-align: center;
    margin-bottom: 33px;
    font-family: Arial;
    font-size: 50px;
    font-weight: 300;
}

.login input{
    width: 375px;
    padding: 14px 20px 14px 40px;
    margin-bottom: 10px;
    outline: none;        /*去蓝边框*/
    border: 1px solid #dddddd;
    border-radius: 3px;
}
/*****input 划过之后显示******/
.login input:focus{
    border: 1px solid #cccccc;
}

.login p{
    position: relative;
}

#submit{
    margin-top: 30px;
    background: #7554bf;
    color: #ffffff;
    cursor: pointer;
}

#submit:hover{
    background: #7733bf;
}

.user{
    background: url("../img/yonghuming.png");
    width: 21px;
    height: 21px;
    display: inline-block;
    position: absolute;
    left: 9px;
    top: 11px;
}

.password{
    background: url("../img/mima.png");
    width: 19px;
    height: 25px;
    display: inline-block;
    position: absolute;
    left: 9px;
    top: 11px;
}

.reg{
    height: 425px;
    padding: 100px 50px;
    color: #ffffff;
    background: url("../img/bg-login.png");
    background-size: cover;
}

.reg p{
    margin-bottom: 50px;
}

.reg a{
    text-decoration: none;
    color: #ffffff;
}

.reg a:hover{
    color: #a899c5;
}

.right{
    background: url("../img/youjiantou.png");
    width: 28px;
    height: 28px;
    display: inline-block;
    position: relative;
    top: 8px;
    left: 4px;
}

@media (max-width: 600px) {
   .container{
      flex-wrap: wrap; /*换行*/
   }
    .login input{
        width: 200px;
    }
    .reg{
        width: 300px;
        height: auto;
        padding: 50px;
    }
}